#include "common_util.h"




int main(void)
{ 
    printf("block size: %d\n", common_util_get_block_size("/dev/mtd6"));
    common_util_erase_partition("/dev/mtd6");
    common_util_write_file_to_partition("/dev/mtd6", "./ubi.img");
    return 0;
}